package com.example.homemate.service.house;

import com.example.homemate.model.entity.house.House;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface HouseService {
    Page<House> searchHouses(
            Pageable pageable,
            String houseNumber,
            String status,
            Long ownerId
    );
    House saveHouse(House house);
    void deleteHouse(Long id);
    House updateHouse(Long id, House updatedHouse);
    House getHouseById(Long id);
    List<House> getAllHouses();
}